<template>
  <div class="emptyWrapper">
    <!-- <img
      class="emptyImage"
      src="../assets/images/svg/icons/empty.svg"
      alt=""
    /> -->
    <elan-svg class="emptyImage" icon="empty"></elan-svg>
    <span class="emptyTips">{{ emptyTip }}</span>
  </div>
</template>

<script>
export default {
  name: "Empty",
  props: {
    emptyTip: {
      type: String,
      default: "暂无数据",
    },
  },
};
</script>

<style lang="scss" scoped>
.emptyWrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  .emptyImage {
    width: 300px;
    height: 300px;
  }
  .emptyTips {
    margin-top: 17px;
    font-size: 14px;
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    color: #666666;
    line-height: 20px;
  }
}
</style>
